package com.zufe.Test2;

public class Student extends Person{
    private String classNo;

    public Student() {
    }

    public Student(String name, int age, String classNo) {
        super(name, age);
        this.classNo = classNo;
    }

    public String getClassNo() {
        return classNo;
    }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    public void fillForm(){
        System.out.println("填写问卷");
    }
}
